#     *
#    ***
#   *****
#  *******
# *********
for i in range(6):
    for j in range(5 - i):
        print(' ', end='')
    for j in range(2 * i - 1):
        print('*', end='')
    print()